// import React from "react"
// import picture from "./assets/picture.png"
// class App extends React.Component {
//     render() {
//         return (
//             <div>
//                 <h1>react hello world</h1>
//                 <img src={picture} />
//             </div>

//         );
//     }
// }
// export default App;
import { useState } from "react";
function App() {
    const [num, setNum] = useState(0);
    return (
        <div>
            <h1>{num}</h1>
            <button onClick={() => setNum(num + 1)}>+1</button>
        </div>
    );
}
export default App;